package com.hzdl.hotel.bean;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.*;

import java.io.Serializable;
import java.util.Date;


@ToString
@AllArgsConstructor
@NoArgsConstructor
public class Check implements Serializable {
    private String checkId;
    @JsonFormat(pattern="yyyy/MM/dd hh:mm:ss",timezone = "GMT+8",locale = "zh")
    private Date starttime;
    @JsonFormat(pattern="yyyy/MM/dd hh:mm:ss",timezone = "GMT+8",locale = "zh")
    private Date endtime;
    @JsonFormat(pattern="yyyy/MM/dd hh:mm:ss",timezone = "GMT+8",locale = "zh")
    private Date createtime;
    private Integer hId;
    private String loginName;
    private String phone;
    private Integer number;
    private String hotelType;
    private String problem;
    private Double payMoney;

    public String getCheckId() {
        return checkId;
    }

    public void setCheckId(String checkId) {
        this.checkId = checkId;
    }

    public Date getStarttime() {
        return starttime;
    }

    public void setStarttime(Date starttime) {
        this.starttime = starttime;
    }

    public Date getEndtime() {
        return endtime;
    }

    public void setEndtime(Date endtime) {
        this.endtime = endtime;
    }

    public Date getCreatetime() {
        return createtime;
    }

    public void setCreatetime(Date createtime) {
        this.createtime = createtime;
    }

    public Integer gethId() {
        return hId;
    }

    public void sethId(Integer hId) {
        this.hId = hId;
    }

    public String getLoginName() {
        return loginName;
    }

    public void setLoginName(String loginName) {
        this.loginName = loginName;
    }

    public String getPhone() {
        return phone;
    }

    public void setPhone(String phone) {
        this.phone = phone;
    }

    public Integer getNumber() {
        return number;
    }

    public void setNumber(Integer number) {
        this.number = number;
    }

    public String getHotelType() {
        return hotelType;
    }

    public void setHotelType(String hotelType) {
        this.hotelType = hotelType;
    }

    public String getProblem() {
        return problem;
    }

    public void setProblem(String problem) {
        this.problem = problem;
    }

    public Double getPayMoney() {
        return payMoney;
    }

    public void setPayMoney(Double payMoney) {
        this.payMoney = payMoney;
    }
}
